package com.ziytek.web.citizen.service.itf;

import com.ziytek.web.citizen.model.req.BatteryComprehensiveExportReq;
import com.ziytek.web.citizen.model.req.BatteryExportReq;
import com.ziytek.web.citizen.model.rsp.UnifyResponse;
import jakarta.servlet.http.HttpServletResponse;

/**
 * 电池数据导出服务
 *
 * @author fenghx
 * @version v1.0
 * @className BatteryExportService
 * @date 2023/6/30 14:41
 **/
public interface BatteryExportService {


    /**
     * 数据导出
     *
     * @param request      查询请求参数
     * @param httpResponse httpResponse
     */
    void batteryExportZip(BatteryExportReq request, HttpServletResponse httpResponse);

    /**
     * 数据导出通知
     *
     * @param cabinetNo cabinetNo
     * @param fileName  fileName
     */
    void batteryExportNotify(String cabinetNo, String fileName);

    /**
     * 数据导出通知
     *
     * @param cabinetId 查询请求参数
     * @return UnifyResponse
     */
    UnifyResponse batteryExportNotifyByCabinetIds(String cabinetId);

    /**
     * 数据导出
     *
     * @param request      查询请求参数
     * @param httpResponse httpResponse
     */
    void batteryComprehensiveExport(BatteryComprehensiveExportReq request, HttpServletResponse httpResponse);
}
